import React, { Component } from 'react'
import './css/04-indec.css'
export default class App extends Component {
  render() {
    let myName = 'react-demo'
    let style = {
      background: 'yellow',
      fontSize: '20px'
    }
    return (
      <div style={style}>
        { 10 + 20}---{myName}
        { /** 注释*/ }
        <h2 style={{color: 'red'}}>33333</h2>

        <div className='active'>className</div>

        <label htmlFor='userName'>获取input焦点：</label>
        <input type="text" id="userName"></input>
      </div>
    )
  }
}

